package com.caigou.bean.exam.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 微信会员表
 * 
 * @author wcyong
 * 
 * @date 2020-09-16
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class WxUser {
    private Integer id;

    private String userid;

    private String openid;

    private String accessToken;

    /**
     * access_token的有效期
     */
    private Long accessTokenTime;

    /**
     * 刷新access_token
     */
    private String refreshToken;

    /**
     * refresh_token的有效期
     */
    private Long refreshTokenTime;

    private String nickname;

    private String headimgurl;

    /**
     * 0未知1男2女
     */
    private Integer sex;

    private String province;

    private String city;

    private String country;

    /**
     * 用户特权
     */
    private String privilege;

    private String unionid;

    /**
     * 有效期
     */
    private String expiresIn;

    private String language;


}
